package 单例模式;

public class Singleton {
    private static class LazyHolder{
        private static final Singleton INSTANCE = new Singleton();
    }
    public static final Singleton getInstance(){
        return LazyHolder.INSTANCE;
    }
}
